<div style="padding: 0 10px;">
    <div style="font-weight: bold;padding: 5px;">新建加工费<span class="asterisk">*</span></div>
    <div class="historyBox" style="width: 80%;">
        <div>牙位</div>
        <div style="flex: 2;">耗材名称<span class="asterisk">*</span></div>
        <div>数量<span class="asterisk">*</span></div>
        <div>单价<span class="asterisk">*</span></div>
        <div>加工费<span class="asterisk">*</span></div>
        <div>实付金额<span class="asterisk">*</span></div>
        <div>所属类别<span class="asterisk">*</span></div>
        <div style="flex: 0.5;">操作</div>
    </div>
    <div class="machiningBox" id="machiningBox1">
        <div class="historyBox" style="padding: 5px 0;">
            <div class="toothPosition">
                <div style="flex: 1;border-bottom: 1px solid #999999;display: flex">
                    <input style="border-right: 1px solid #999999;text-align: right;height: 14px;"
                           class="leftUp leftUp1" name="leftUp">
                    <input class="rightUp rightUp1" style="height: 14px;" name="rightUp">
                </div>
                <div style="flex: 1;display: flex">
                    <input style="border-right: 1px solid #999999;text-align: right;height: 14px;" class="leftDown leftDown1" name="leftDown">
                    <input class="rightDown rightDown1" style="height: 14px;" name="rightDown">
                </div>
            </div>
            <div style="flex: 2;">
                <select type="text" class="selectStyles payServiceNameNew" name="payServiceName" id="payServiceNameM" style="width: 80%;height: 24px;">
                    <option value="">--选择耗材--</option>
                    @for(str in consumablesList){
                    <option value="${str.name}">${str.name}</option>
                    @}
                </select>
            </div>
            <div>
                <input class="selectStyles number1" name="number" oninput="value=value.replace(/[^\d]/g,''),machiningNumber(this)"/>
            </div>
            <div>
                <input class="selectStyles price1" name="price" oninput="value=value.replace(/[^\d]/g,''),machiningPrice(this)"/>
            </div>
            <div>
                <input class="selectStyles amount1" name="amount" oninput="value=value.replace(/[^\d]/g,'')" >
            </div>
            <div>
                <input class="selectStyles amountActually1" name="amountActually1" oninput="value=value.replace(/[^\d]/g,''),machiningActually(this)"/>
            </div>
            <div>
                <select type="text" class="selectStyles type1" name="type1" style="height: 24px;">
                    <option value="">全部</option>
                    <option value="固定修复">固定修复</option>
                    <option value="活动修复">活动修复</option>
                    <option value="种植类">种植类</option>
                    <option value="正畸类">正畸类</option>
                </select>
            </div>
            <div class="delete1" style="flex: 0.5;cursor: pointer"><span class="glyphicon glyphicon-trash"></span></div>
        </div>
        <div id="addWay1" style="position: absolute;right: -26px;top: 8px;font-size: 16px;"><span class="glyphicon glyphicon-plus"></span></div>
    </div>
    <div class="totalBox">
        <div><span>总计：</span><span id="machiningTotal"></span></div>
    </div>
    <div class="processingUnit">
        <div>
            <div>
                <span>就诊时间：</span>
                <select name="finnallyTime" id="finnallyTime">
                    @for(item in customerList){
                    <option value="${item.arrivalTime}">${item.arrivalTime}</option>
                    @}
                </select>
            </div>
            <div>
                <span>加工单位：</span>
                <select name="processUnit" id="processUnit">
                    <option value="">--请选择加工单位--</option>
                    @for(str in processUnitInfoList){
                    <option value="${str.processUnit}">${str.processUnit}</option>
                    @}
                </select>
                <button type="button" class="btn" onclick="addSetUint()" style="vertical-align: top;padding: 3px 10px;"><span class="glyphicon glyphicon-cog" style="top: 3px;width: 14px;"></span></button>
            </div>
            <div>
                <span>联系电话：</span>
                <input name="phone" id="phone" oninput="value=value.replace(/[^\d]/g,'')">
            </div>
            <div>
                <span>订单状态：</span>
                <select name="status" id="status">
                    <option value="">请选择</option>
                    <option value="未完工">未完工</option>
                    <option value="已完工">已完工</option>
                    <option value="返工">返工</option>
                    <option value="已取件">已取件</option>
                    <option value="试戴">试戴</option>
                    <option value="已戴">已戴</option>
                </select>
            </div>
            <div>
                <span>医生姓名：</span>
                <select type="text" id="doctor1" name="doctor">
                    <option value="">--请选择医生--</option>
                    @for(str in doctorList){
                    <option value="${str.doctor}">${str.doctor}</option>
                    @}
                </select>
            </div>
            <div>
                <span>送件门诊：</span>
                <select type="text" class="selectStyles arrivalStore1" name="arrivalStore" id="store">
                    <option value="">--请选择门店--</option>
                    @for(str in outpatientManagementList){
                    <option value="${str.simplename}">${str.simplename}</option>
                    @}
                </select>
            </div>
        </div>
        <div>
            <div>
                <span>订单编号：</span>
                <input name="orderNumber" id="orderNumber">
            </div>
            <div>
                <span>取件人：</span>
                <select name="picker" id="picker">
                    <option value="">--请选择医生--</option>
                    @for(str in doctorList){
                    <option value="${str.doctor}">${str.doctor}</option>
                    @}
                </select>
                <button type="button" class="btn" onclick="addPicker()" style="vertical-align: top;padding: 3px 10px;"><span class="glyphicon glyphicon-cog" style="top: 3px;width: 14px;"></span></button>
            </div>
            <div>
                <span>送件时间：</span>
                <input autocomplete="off" type="text" id="deliveryTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm'})">
            </div>
            <div>
                <span>取件时间：</span>
                <input type="text" id="pickUpTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm'})">
            </div>
            <div>
                <span>备注信息：</span>
                <textarea name="remarks" id="remarks1" style="width:166px;height: 28px"></textarea>
            </div>
        </div>
    </div>
    <div class="btnBox">
        <button type="button" id="ensure1" class="btn" style="background-color:#5cb85c;color: #ffffff;border-color:#4cae4c">保存</button>
        <button type="button" id="cancel1" class="btn" style="background-color:#5cb85c;color: #ffffff;border-color:#4cae4c" onclick="TechnologyProcessingTableList.close()">取消</button>
    </div>
</div>
<script src="${ctxPath}/static/modular/doctorLooked/doctor_consumable.js?v=20200628"></script>